<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>Coktail du Lump</title>
        <?php echo $this->Html->css('style'); ?>
        <?php echo $this->Html->css('ui-darkness/jquery-ui-1.9.2.custom'); ?>
        <?php echo $this->Javascript->link('jquery-1.8.3'); ?>
        <?php echo $this->Javascript->link('jquery-ui-1.9.2.custom'); ?>
        <?php echo $this->Javascript->link('jquery.validate'); ?>
        <?php echo $this->Javascript->link('jquery.form'); ?>
        <script type="text/javascript">
            $(document).ready(function () {
        
                jQuery(".form").validate({
                    submitHandler: function(form) {
                        jQuery(form).ajaxSubmit({
                            target: "#content"
                        });
                    }
                });
            });
        </script>
    </head>
    <body>
        <div id="bg"><?php echo $this->Html->image('index.jpg', array('border' => "0")) ?></div>
        <div id="container">
            <div id="header">
                <div id="logo"><?php echo $this->Html->image('logo.png', array('border' => "0")) ?></div>
                <div id="menu">
                    <div id="login"><?php echo $this->Html->image('login.png', array('border' => "0")) ?><?php echo $this->Html->link("<p>Exit</p>", array('controller' => 'users', 'action' => 'logout'), array('escape' => false)) ?> </div>
                </div>
            </div>
            <div id="doer">
                <div class="content" id="content">

                    <?php echo $this->Session->flash(); ?>

                    <?php echo $this->fetch('content'); ?>
                    <?php echo $this->element('sql_dump'); ?>
                </div>
            </div>
        </div>
    </body>
</html>